From: Florian Müllner Date: Wed, 5 Apr 2023 15:27:21 +0000 (+0200) Subject: environment: Remove old compatibility code X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~337^2~2^2~122 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=9168e2fc63f7e0384e6d4d6cf4c568544c3e41a0;p=gnome-shell.git environment: Remove old compatibility code St.set_slow_down_factor() has been deprecated for over 3 years (since 3.34). That's plenty of time for extensions to switch to St.Settings.get().slow_down_factor. Part-of: --- diff --git a/js/ui/environment.js b/js/ui/environment.js index 224456d6a..353cd35f6 100644 --- a/js/ui/environment.js +++ b/js/ui/environment.js @@ -398,12 +398,6 @@ function init() { return Shell.util_touch_file_finish(this, result); }; - St.set_slow_down_factor = function (factor) { - let { stack } = new Error(); - log(`St.set_slow_down_factor() is deprecated, use St.Settings.slow_down_factor\n${stack}`); - St.Settings.get().slow_down_factor = factor; - }; - let origToString = Object.prototype.toString; Object.prototype.toString = function () { let base = origToString.call(this);